#FROM ubuntu:18.04
#WORKDIR /webpa
#
#COPY sources.list /etc/apt/sources.list
##RUN apt update && apt install -y python3-pip build-essential
#RUN apt update && apt install -y build-essential
##RUN apt update && apt-get install -y ppp ppp-dev pppoeconf curl htop iotop net-tools vim
#
##COPY rp-pppoe-3.14.tar.gz /tmp/rp-pppoe-3.14.tar.gz
### Unpack
##RUN cd /tmp && tar xvf rp-pppoe-3.14.tar.gz
##
##RUN cd /tmp/rp-pppoe-3.14/src && ./configure --enable-plugin && make && make rp-pppoe.so && make install
##
#COPY pap-secrets /etc/ppp/pap-secrets
#
## 中文支持
#ENV LANG=C.UTF-8
#
## 随便写一个命令
#CMD bash
#FROM harbor.yfdts.net/centos7/pppoe_base:v1.0
#RUN yum install python36 -y
##RUN pip3 install python-daemon
#WORKDIR /data
#COPY main.py /data/main.py
FROM nginx
#COPY nginx.conf /etc/nginx/nginx.conf
RUN ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

#RUN #rm -f /etc/nginx/sites-enabled/default
RUN rm -f /etc/nginx/sites-available/default
COPY file.nginx /etc/nginx/conf.d/file_server.conf
# pppoe server 配置
#COPY pppoe-server-options /etc/ppp/pppoe-server-options
#COPY chap-secrets /etc/ppp/chap-secrets


# 中文支持
ENV LANG=C.UTF-8




